﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq;

namespace BSPortal.Data
{
    public class GetUserInfo
    {
        public static Table<BSPortalUser> Get(String Conn)
        {
            DataContext ctx= new DataContext(Conn);
            Table<BSPortalUser> dedecms = ctx.GetTable<BSPortalUser>();
            return dedecms;
        }

        public void testApp()
        {
            string con = "server=192.168.150.60;database=Baison_portal;uid=dbmanager;pwd=jyehFuV27FxNQ50tLOV0gglvPZ0=";
            Get(con);
        }

    }
}
